home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
090
/
byt86feb.arc
/
LIST4.TXT
< prev
next >
Wrap
Text File
|
1985-10-19
|
393b
|
20 lines
DEFINE( 'PUSH(X)' )
DEFINE( 'POP()' )
DEFINE( 'TOP()')
DATA( 'LINK(NEXT,VALUE)' ) :(STACK_END)
PUSH PUSH_POP = LINK( PUSH_POP, X )
PUSH = .VALUE( PUSH_POP ) :(NRETURN)
POP IDENT( PUSH_POP) :S(FRETURN)
POP = VALUE(PUSH_POP)
PUSH_POP = NEXT( PUSH_POP ) :(RETURN)
TOP IDENT( PUSH_POP) :S(FRETURN)
TOP = .VALUE( PUSH_POP ) :(NRETURN)
STACK_END